package com.sdksoft.readcard

import androidx.multidex.MultiDexApplication
import com.csht.readcard.ReadCardManager
import com.sdksoft.readcard.utils.ReadCardManagerUtil
import com.siecom.framework.device.SiecomDevice

class MyApplication : MultiDexApplication() {
    override fun onCreate() {
        super.onCreate()
        CrashHandler.getInstance().init(applicationContext)
//        CrashReport.initCrashReport(applicationContext, "", false)
//        CrashReport.setUserId(DevicesUtils.getDeviceId(applicationContext))

        ReadCardManager.init(this)

        // 至高背夹
        SiecomDevice.init(applicationContext)
        /**
         * 初始化读卡默认参数设置
         */
        ReadCardManagerUtil.init.initReadSettingBuilder(this)
    }
}